[INFO] cloning repository https://github.com/ordovicia/rustc-hook-test
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ordovicia/rustc-hook-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fordovicia%2Frustc-hook-test", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fordovicia%2Frustc-hook-test'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4347606f8ee4f1dde6ac0a5d758a2d28647cee9d
[INFO] checking ordovicia/rustc-hook-test against master#d4be8efc6296bace5b1e165f1b34d3c6da76aa8e for pr-110141
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fordovicia%2Frustc-hook-test" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ordovicia/rustc-hook-test on toolchain d4be8efc6296bace5b1e165f1b34d3c6da76aa8e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ordovicia/rustc-hook-test
[INFO] finished tweaking git repo https://github.com/ordovicia/rustc-hook-test
[INFO] tweaked toml for git repo https://github.com/ordovicia/rustc-hook-test written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/ordovicia/rustc-hook-test already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 13cc58425e83a051bacdfa38564930aed943835716edd9434429ce6d974f7982
[INFO] running `Command { std: "docker" "start" "-a" "13cc58425e83a051bacdfa38564930aed943835716edd9434429ce6d974f7982", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "13cc58425e83a051bacdfa38564930aed943835716edd9434429ce6d974f7982", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "13cc58425e83a051bacdfa38564930aed943835716edd9434429ce6d974f7982", kill_on_drop: false }`
[INFO] [stdout] 13cc58425e83a051bacdfa38564930aed943835716edd9434429ce6d974f7982
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:97d61d7686bf65f8ecb15491ab51835e82dc9176a96a831f143a431b191fc501" "/opt/rustwide/cargo-home/bin/cargo" "+d4be8efc6296bace5b1e165f1b34d3c6da76aa8e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4ab48ea5e75120422323f457d437e4ab368d0fc938758783a5d1e3503fc89005
[INFO] running `Command { std: "docker" "start" "-a" "4ab48ea5e75120422323f457d437e4ab368d0fc938758783a5d1e3503fc89005", kill_on_drop: false }`
[INFO] [stderr]     Checking rustc-hook-test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate rustc_driver;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0462, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0462`.
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/main.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/d4be8efc6296bace5b1e165f1b34d3c6da76aa8e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `rustc_driver`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate rustc_driver;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout]   |
[INFO] [stdout]   = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-hook-test` (bin "rustc-hook-test") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0462, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0462`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustc-hook-test` (bin "rustc-hook-test" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "4ab48ea5e75120422323f457d437e4ab368d0fc938758783a5d1e3503fc89005", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ab48ea5e75120422323f457d437e4ab368d0fc938758783a5d1e3503fc89005", kill_on_drop: false }`
[INFO] [stdout] 4ab48ea5e75120422323f457d437e4ab368d0fc938758783a5d1e3503fc89005
